import { http } from "@/utils/http"

// 首页-广告区域-小程序
// 广告区域展示位置1 为首页（默认值）2 为商品分类页
export const getHomeBanner = (distributionSite = 1)=>{
    return http({
        method:'GET',
        url:'/home/banner',
        data:{
            distributionSite
        }
    })
}


// 首页-前台分类-小程序
export const getGomeCategoryMutli = ()=>{
   return http({
        method:'GET',
        url:'/home/category/mutli'
    })
}


// 首页-热门推荐-小程序
export const getHomeHotMutli = ()=>{
    return http({
         method:'GET',
         url:'/home/hot/mutli'
     })
 }
 
// 猜你喜欢-小程序
export const getHomeGoodsGuessLikeAPI = (data?:any) => {
  return http({
    method: 'GET',
    url: '/home/goods/guessLike',
    data
  })
}